package com.ktsms.pojo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author ZhouShuang
 * @version 17
 * @Title
 * @date 2025/5/27 下午1:26
 */
public class StorageRecord implements Serializable {
    private Long id ; //入库记录id
    private String srCode; //入库记录编码
    private Long supplierId; //供应商id
    private String goodsName; //商品名称
    private String goodsDesc; //商品描述
    private String goodsUnit; //商品单位
    private BigDecimal goodsCount ; //入库数量
    private BigDecimal totalAmount; //入库商品总金额
    private Integer payStatus; //支付状态 1-未支付 2-已支付
    private  Long createdUserId; //创建人id
    private Long updatedUserId; //更新人id
    private String createdTime; //创建时间
    private String updatedTime; //更新时间

    public StorageRecord(){}

    public StorageRecord(Long id, String srCode, Long supplierId, String goodsName, String goodsDesc, String goodsUnit, BigDecimal goodsCount, BigDecimal totalAmount, Integer payStatus, Long createdUserId, Long updatedUserId, String createdTime, String updatedTime) {
        this.id = id;
        this.srCode = srCode;
        this.supplierId = supplierId;
        this.goodsName = goodsName;
        this.goodsDesc = goodsDesc;
        this.goodsUnit = goodsUnit;
        this.goodsCount = goodsCount;
        this.totalAmount = totalAmount;
        this.payStatus = payStatus;
        this.createdUserId = createdUserId;
        this.updatedUserId = updatedUserId;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSrCode() {
        return srCode;
    }

    public void setSrCode(String srCode) {
        this.srCode = srCode;
    }

    public Long getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Long supplierId) {
        this.supplierId = supplierId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsDesc() {
        return goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public String getGoodsUnit() {
        return goodsUnit;
    }

    public void setGoodsUnit(String goodsUnit) {
        this.goodsUnit = goodsUnit;
    }

    public BigDecimal getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(BigDecimal goodsCount) {
        this.goodsCount = goodsCount;
    }

    public BigDecimal getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(BigDecimal totalAmount) {
        this.totalAmount = totalAmount;
    }

    public Integer getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(Integer payStatus) {
        this.payStatus = payStatus;
    }

    public Long getCreatedUserId() {
        return createdUserId;
    }

    public void setCreatedUserId(Long createdUserId) {
        this.createdUserId = createdUserId;
    }

    public Long getUpdatedUserId() {
        return updatedUserId;
    }

    public void setUpdatedUserId(Long updatedUserId) {
        this.updatedUserId = updatedUserId;
    }

    public String getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(String createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(String updatedTime) {
        this.updatedTime = updatedTime;
    }
}
